// import Vue from 'vue'
// import App from './App.vue'
// import router from './router'
// import store from './store'
// import ElementUI from'element-ui';
// import 'element-ui/lib/theme-chalk/index.css';
// import VueAwesomeSwiper from 'vue-awesome-swiper';
// import 'swiper/css/swiper.css';
// import axios from 'axios';


// Vue.config.productionTip = false
// //第三方请求，需要设置代理地址——axios.defaults.baseURL = '/api';
// Vue.prototype.$axios = axios;		//使用时：this.$axios.请求方式('请求地址')


// Vue.use(ElementUI);
// Vue.use( VueAwesomeSwiper );
// // Vue.use(axios);

// new Vue({
//   render: h => h(App),
//   router,
//   store
// }).$mount('#app')

import Vue from 'vue'
import App from './App.vue'
import router from './router'
import ElementUI from'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import VueAwesomeSwiper from 'vue-awesome-swiper';
import 'swiper/css/swiper.css';
import axios from 'axios';
import store from './store'
import {$get,$postKv,$postf,$postj,$postx} from'@/ajax/index.js'
import qs from 'qs'
Vue.config.productionTip = false
//第三方请求,需要设置代理地址 ——axios.defaults.baseURL = '/api'
Vue.prototype.$axios = axios; //使用时: this.$axios.请求方式('请求地址')
axios.defaults.baseURL ="http://127.0.0.1"
Vue.prototype.$ip ="http://127.0.0.1"
Vue.prototype.$postKv=$postKv
Vue.prototype.$postf=$postf
Vue.prototype.$postj=$postj
Vue.prototype.$postx = $postx;
Vue.prototype.$get=$get
Vue.prototype.$qs = qs;
Vue.use(ElementUI);
Vue.use(VueAwesomeSwiper)
// Vue.use(axios)

new Vue({
  render: h => h(App),
  router,
  store
}).$mount('#app')